<template>
    <div class="page-welcome" @click="click"></div>
</template>

<script lang="ts">
import { LOGIN_COOKIE_KEY } from '@/constants';
import * as api from '@/constants/api';
import { IState } from '@/store';
import { thyCookie, thyReq, thyUI } from '@thyiad/util';
import { ref, defineComponent } from 'vue';
import { useRoute, useRouter } from 'vue-router';
import { useStore } from 'vuex';

export default defineComponent({
    name: 'Welcome',
    setup(props) {
        const a = ref('');
        const store = useStore<IState>();
        const route = useRoute();
        const router = useRouter();
        const click = () => {
            router.push('/entry');
        };

        return {
            a,
            click,
        };
    },
});
</script>

<style lang="scss">
.page-welcome {
    height: 100vh;
    background-color: lightsalmon;
}
</style>
